package com.example.light.web.personal.service;

import com.example.light.web.personal.entity.NameCard;
import org.springframework.ui.Model;

public interface NameCardService {
    void showNamecards(Integer userId, Model model);

    boolean insert(NameCard nameCard, Integer userId);

    void selectOne(Integer id, Model model);

    boolean update(NameCard nameCard, Integer userId);

    boolean del(Integer nameCardId);

}
